package net.begincode.handler;

import net.begincode.service.TestService;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

/**
 * Created by saber on 2017/6/1.
 */
@Component
public class TestHandler {

    @Resource
    private TestService testService;

    public String getName(Integer id){
        return testService.getName(id);
    }
}
